package com.ruoyi.system.domain.parm;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @ClassName: SysParkingSpacesParm
 * @Description TODO
 * @Author: lingzhi
 * @Description:
 * @Date: Created in  2024/3/31  12:57
 */
public class SysParkingSpacesParm {

    /** id */
    @ApiModelProperty(value = "id",example = "")
    private String id;

    /** 位置名称 */
    @ApiModelProperty(value = "位置名称",example = "",required = true)
    @NotEmpty
    private String name;

    /** 停车位价格 单位小时 */
    @ApiModelProperty(value = "停车位价格 单位小时",example = "20.05",required = true)
    @NotNull
    private BigDecimal hourPrice;


    @ApiModelProperty(value = "楼层",example = "F1",required = true)
    @NotEmpty
    private String level;

    /** 楼层id */
    @ApiModelProperty(value = "楼层id",example = "6",required = true)
    @NotNull
    private String levelId;

    /** 状态 0=空闲  1=占用  2=关闭 */
    @ApiModelProperty(value = "状态 0=空闲  1=占用  2=关闭",example = "0",hidden = true)
    private Integer status;

    /** 停车位长度 */
    @ApiModelProperty(value = "停车位长度 单位 m",example = "1",required = true)
    @NotNull
    private BigDecimal spacesLong;

    /** 宽度 */
    @ApiModelProperty(value = "停车位宽度 单位 m",example = "1",required = true)
    @NotNull
    private BigDecimal wide;

    /** 每月空闲时间率 */
    @ApiModelProperty(value = "每月空闲时间率",example = "1",required = false,hidden = true)
    private BigDecimal free;

    /** 停车场id */
    @ApiModelProperty(value = "停车场id",example = "1",required = true)
    @NotNull
    private String parkingId;

    /** 商家id */
    @ApiModelProperty(value = "商家id",example = "1",required = false,hidden = true)
    private String businessId;

    /**  */
    @ApiModelProperty(value = "删除",example = "0",hidden = true)
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setHourPrice(BigDecimal hourPrice)
    {
        this.hourPrice = hourPrice;
    }

    public BigDecimal getHourPrice()
    {
        return hourPrice;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setLevelId(String levelId)
    {
        this.levelId = levelId;
    }

    public String getLevelId()
    {
        return levelId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setSpacesLong(BigDecimal spacesLong)
    {
        this.spacesLong = spacesLong;
    }

    public BigDecimal getSpacesLong()
    {
        return spacesLong;
    }
    public void setWide(BigDecimal wide)
    {
        this.wide = wide;
    }

    public BigDecimal getWide()
    {
        return wide;
    }
    public void setFree(BigDecimal free)
    {
        this.free = free;
    }

    public BigDecimal getFree()
    {
        return free;
    }
    public void setParkingId(String parkingId)
    {
        this.parkingId = parkingId;
    }

    public String getParkingId()
    {
        return parkingId;
    }
    public void setBusinessId(String businessId)
    {
        this.businessId = businessId;
    }

    public String getBusinessId()
    {
        return businessId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }


}
